package com.itheima.dao.impl;

import com.itheima.dao.BookDao;

import java.util.*;

public class BookDaoImpl implements BookDao {
    private ArrayList arrayList;
    private Properties properties;
    private int[] arr;
    private HashSet set;
    private HashMap map;

    public void save() {

        System.out.println(arrayList.toString());
        System.out.println("book dao running...");
        System.out.println(arr[0]+" "+arr[1]+" "+arr[2]);
        System.out.println(map.get("1")+""+map.get("2")+""+map.get("3"));
        System.out.println(set.toString());
    }

    public ArrayList getArrayList() {
        return arrayList;
    }

    public void setArrayList(ArrayList arrayList) {
        this.arrayList = arrayList;
    }

    public Properties getProperties() {
        return properties;
    }

    public void setProperties(Properties properties) {
        this.properties = properties;
    }

    public int[] getArr() {
        return arr;
    }

    public void setArr(int[] arr) {
        this.arr = arr;
    }

    public HashSet getSet() {
        return set;
    }

    public void setSet(HashSet set) {
        this.set = set;
    }

    public HashMap getMap() {
        return map;
    }

    public void setMap(HashMap map) {
        this.map = map;
    }
}
